import request from '@/utils/request'

// 查询盲盒收藏列表
export function listCollection(query) {
  return request({
    url: '/blind/collection/list',
    method: 'get',
    params: query
  })
}

// 新增盲盒收藏
export function addCollection(data) {
  return request({
    url: '/blind/collection',
    method: 'post',
    data: data
  })
}


// 删除盲盒收藏
export function delCollection(data) {
  return request({
    url: '/blind/collection/delete/collection',
    method: 'delete',
	data: data
  })
}